package model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "station_returndetail")
public class Stationreturndetail  implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long  id;                   
	public Long  ticketselldetailid;   
	public String  stationpk;             
	public String  ticketno;           
	public String  departorgcode;      
	public String  reachstationcode;   
	public String  schedulecode;
	@Temporal(TemporalType.DATE)
	public Date  departdate;           
	public String  departtime;         
	public String  seatno;             
	public Double  price;              
	public Integer  distance;
	@Temporal(TemporalType.TIMESTAMP)
	public Date  returntime;           
	public String  returnorgcode;      
	public String  returntype;         
	public Double  returnfee;          
	public String  remark;             
	public String  updateby;
	@Temporal(TemporalType.TIMESTAMP)
	public Date  updatetime;
	@Temporal(TemporalType.TIMESTAMP)
	public Date  createtime;            
	public String  createby;
	public String routecode;//	线路编码
	public String routename;//	线路名称
	public String islinework;//	是否流水班

}
